<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: Multiple 'color-stop' of 'linear- gradient' with same position value</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://dev.w3.org/csswg/css3-images/#gradients" />
        <meta name="flags" content="" />
        <meta name="assert" content="If multiple color stops with the same position are created, then the resulting 'linear-gradient' has a sudden transition instead of a smooth change in color at that position." />
        <style type="text/css">
            #test
            {
                background-image: linear-gradient(blue 0%, violet 10%, orange 20%, yellow 20%, purple 100%);
                height: 200px;
            }
        </style>
    </head>
    <body>
        <p>Test passes if there a square which starts with blue on the top, gradually changes to pink, then to orange, then the color suddenly changes to yellow and finally has a smooth transition to purple.</p>
        <div id="test"></div>
    </body>
</html>
